import ElIndex from './ElIndex.vue'
export default {
    install:(app,options)=>{
        console.log(options);
        // 1. 导入组件
        const components = [
            // 导入组件
           {name: 'ElIndex', component: ElIndex} 
        ]
        // 2. 注册组件
        components.forEach(component => {
            app.component(component.name, component.component)
        })
        // 3. 注册指令
        
        // 4. 注册过滤器
    }
}